package com.example.caoh.service;

import java.util.List;

public interface IService<T> {

	T getOne(T entity);

	int updateOne(T entity);

	int saveOne(T entity);

	int deleteOne(Object id);

	List<T> selectByExample(Object example);
	
	List<T> queryAll();

	T getOneById(Object id);
}
